<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/public/header.jsp"%>
<%
	String gd_id = request.getParameter("gd_id") == null ? "" : request.getParameter("gd_id");
%>
<html>
	<head>
		<title>分包预算</title>
	<script type="text/javascript">
	$(function() {
		$('#table').datagrid({
				  	title:'分包预算',
				  	iconCls:'icon-save',
				  	url:'<%=contextPath%>/springMVC/gd/listPageFBDetail?gd_id=<%=gd_id%>',
				  	rownumbers:true,
				  	singleSelect:true,
					fitColumns:true,
					nowrap:false,
					frozenColumns:[[
					    {title:'分包结算id',field:'id',hidden:true},
					    {title:'分包栏目id',field:'fb_item_id',hidden:true}
					]],
					columns:[[
						{title:'栏目名称',field:'fb_item_name',width:50,align:'center'},
						{title:'预算成本',field:'budget',width:50,align:'center'},
						{title:'预算备注',field:'budget_remark',width:100,align:'center'}
					]],
					pageSize:10,
					pageList : [10,50,100],  
					pagination:true
				});
		
	});
		         
	  
	</script>
	</head>
	<body>
			<div id="table" ></div>  
	</body>
</html>